package com.cloud.product.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cloud.product.dto.CartDTO;
import com.cloud.product.pojo.ProductInfo;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ProductInfoDao extends BaseMapper<ProductInfo> {

    void decreaseStock(List<CartDTO> cars);
}
